package patterns.modelPattern;

public abstract class Cook {
	public void cooking() {
		wash();
		boilWater();
		putIngredientsInWater();
		waitting();
		putFoodInBowl();
	}

	protected abstract void wash();

	private void boilWater() {
		System.out.println("boilling water...");
	}

	protected abstract void putIngredientsInWater();

	protected abstract void waitting();

	protected abstract void putFoodInBowl();

}
